@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">
            <div class="row">
                <div class="col-sm-6 b-r">
                    <div style="display: flex;flex-direction: row;">
                        <h4 style="width: 20%;">应用名称</h4>
                        <input type="text" id="appName"
                               style="margin-left: 10px;margin-bottom: 10px;width: 70%;height: 30px;">
                    </div>
                    <div style="display: flex;flex-direction: row;">
                        <h4 style="width: 20%;">应用别名</h4>
                        <input type="text" id="appAlias"
                               style="margin-left: 10px;margin-bottom: 10px;width: 70%;height: 30px;">
                    </div>
                    <div style="display: flex;flex-direction: row;">
                        <h4 style="width: 20%;">应用包</h4>
                        <input type="file" id="app_file" onchange="getIpa()" style="margin-left: 10px;margin-bottom: 10px;width: 70%;height: 30px;">
                    </div>
                    <div style="display: flex;flex-direction: row;">
                        <h4 style="width: 20%;">推送支持</h4>
                        <select name="support_push" id="supportPush">
                            <option value="0">否</option>
                            <option value="1">是</option>
                        </select>
                    </div>
                    <p style="color: red">(如果应用有包含绑定bundleID的第三方库或使用IOS Extension无法使用推送功能)</p>
                </div>
                <div class="col-sm-6">
                    <div style="display: flex;flex-direction: row;">
                        <h4 style="width: 20%;">应用图标</h4>
                        <input type="file" id="logo_file" onchange="getImage()" style="margin-left: 10px;margin-bottom: 10px;width: 70%;height: 30px;">
                    </div>
                    <p>请上传114*114的png图片</p>
                    <div style="display: flex;flex-direction: row; margin-top: 10px;">
                        <h4 style="width: 20%;">应用描述</h4>
                        <textarea id="appDesc" style="width: 300px; height: 150px;"></textarea>
                    </div>
                </div>
            </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="ApplicationInfoDlg.addApplication()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="ApplicationInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/apple_app_manage/application/application_info.js"></script>
@}
